package top.tangyh.lamp.care.mapper;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import top.tangyh.basic.base.mapper.SuperMapper;
import top.tangyh.lamp.care.entity.BHl7RkDetail;
import top.tangyh.lamp.care.entity.HisOperation;
import org.springframework.stereotype.Repository;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * Mapper 接口
 * 手术信息
 * </p>
 *
 * @author zqb
 * @date 2024-12-18 09:48:00
 * @create [2024-12-18 09:48:00] [zqb] [代码生成器生成]
 */
@Repository
public interface HisOperationMapper extends SuperMapper<HisOperation> {

    default List<HisOperation> selectHisOperationList(String regIdd){
        LambdaQueryWrapper<HisOperation> queryWrapper = new LambdaQueryWrapper<>();
        queryWrapper.eq(HisOperation::getRegId,regIdd)
               ;
        return selectList(queryWrapper);

    }
}


